package com.bootdo.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.wx.dao.OrderBackDao;
import com.bootdo.wx.domain.OrderBackDO;
import com.bootdo.wx.service.OrderBackService;



@Service
public class OrderBackServiceImpl implements OrderBackService {
	@Autowired
	private OrderBackDao orderBackDao;
	
	@Override
	public OrderBackDO get(String id){
		return orderBackDao.get(id);
	}
	
	@Override
	public List<OrderBackDO> list(Map<String, Object> map){
		return orderBackDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return orderBackDao.count(map);
	}
	
	@Override
	public int save(OrderBackDO orderBack){
		return orderBackDao.save(orderBack);
	}
	
	@Override
	public int update(OrderBackDO orderBack){
		return orderBackDao.update(orderBack);
	}
	
	@Override
	public int remove(String id){
		return orderBackDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return orderBackDao.batchRemove(ids);
	}
	
}
